package  
{
	import flash.display.MovieClip;
	import flash.events.Event;
	import Levels.Level1;
	import Objetos.Heroi;
	/**
	 * ...
	 * @author Rodrigo Pinho
	 */
	public class Main extends MovieClip
	{
		public var MC_tela:MovieClip;
		public var LV_fase1:Level1;
		
		
		private static var _instance:Main;
		
		public static function getInstance():Main
		{
			return _instance;
		}
		public function Main() 
		{
			_instance = this;
			
			addEventListener(Event.ENTER_FRAME, update, false, 0, true);
			MC_tela = new MovieClip
			addChild(MC_tela)
			
			LV_fase1 = new Level1()
			
			
		}
		
		public function update(e:Event):void
		{
			LV_fase1.update();
		}
	}

}